#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"
#include<time.h>
int main()
{
	//int a[] = { 2,1,3,8};
	int a[2000] = { 2,3,4,5,6,18,2,9,28,91,2891,82,8,48,-1,-88};
	srand((unsigned int)time(NULL));
	for (int i = 0; i < 2000; i++)
	{
		a[i] = rand() % 3000;

	}
	CountSort(a,sizeof(a) / sizeof(a[0]));
	for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++)
	{
		printf("%d  ", a[i]);
	}
	return 0;
}